package com.ruoyi.question.service;
import com.github.pagehelper.PageInfo;
import com.ruoyi.question.domain.ExpressQuestion;
import com.ruoyi.question.domain.ExpressQuestionKind;

import java.util.List;


/**
 * 公告Service接口
 * 
 * @author ruoyi
 * @date 2024-08-22
 */
public interface IQuestionService
{

    PageInfo<ExpressQuestionKind> questionKindList(ExpressQuestionKind questionKind);

    int questionKindAdd(ExpressQuestionKind questionKind);

    int questionKindUpdate(ExpressQuestionKind questionKind);

    int deleteQuestionKind(Long id);

    int updatKindFalse(Long id);

    int updateKindTrue(Long id);

    PageInfo<ExpressQuestion> questionList(ExpressQuestion question);

    int updateFalse(Long id);

    int updateTrue(Long id);

    int deleteQuestion(Long id);

    List<ExpressQuestionKind> questionKind(ExpressQuestionKind kind);

    int questionAdd(ExpressQuestion question);

    int questionUpdate(ExpressQuestion question);

}
